projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3272ef2
)
Free placer when waypt is freed.
author
robertl
<robertl>
Thu, 5 May 2005 16:37:31 +0000
(16:37 +0000)
committer
robertl
<robertl>
Thu, 5 May 2005 16:37:31 +0000
(16:37 +0000)
waypt.c
patch
|
blob
|
history
diff --git
a/waypt.c
b/waypt.c
index f45633a65b1330ba5d53e4d053e6fe5a67bd0bb4..14bbad644f9ac812b0223b6405af16b0d1e88885 100644
(file)
--- a/
waypt.c
+++ b/
waypt.c
@@
-274,6
+274,9
@@
waypt_free( waypoint *wpt )
if (wpt->gc_data.desc_long.utfstring) {
xfree(wpt->gc_data.desc_long.utfstring);
}
+ if (wpt->gc_data.placer) {
+ xfree(wpt->gc_data.placer);
+ }
if ( wpt->an1_extras ) {
(*(wpt->an1_extras->destroy))((void *)wpt->an1_extras );
xfree( wpt->an1_extras );